﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Edit.Master" AutoEventWireup="true"
    CodeBehind="ViewPageFile.aspx.cs" Inherits="Web.Views.ArchiveView.ViewPageFile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../../Javascript/UserControls.js"></script>
    <script type="text/javascript">
        function closePage() {
            window.opener.document.location = window.opener.document.location;
            window.close();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="button" runat="server">
    <div class="toolbar2">
        <button type="button" class="sexybutton" id="btnBack" onclick="closePage();">
            <span><span><span class="cancel">关闭</span></span></span></button>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="edit" runat="server">
    <div style="margin: 10px; margin-right: 10px;">
        <fieldset>
            <legend>卷内件详情
                <%=archiveTypeName %>
            </legend>
            <div>
                <table cellpadding="0" cellspacing="0" width="100%" class="editTable">
<tr>
<th style="width:12%">档号</th><td style="width:20%"><asp:TextBox ID="txtArchiveNum" runat="server" Width="98%"></asp:TextBox></td>
<th style="width:12%">临时序号</th><td  style="width:20%"><asp:TextBox ID="txtTempOrderNum" runat="server" Width="98%"></asp:TextBox></td>
<th style="width:12%">来源</th><td><asp:TextBox ID="txtArchiveSource" runat="server" Width="98%"></asp:TextBox></td>
</tr>
<tr>
<th>全宗号</th><td><asp:TextBox ID="txtFullFondsNum" runat="server" Width="98%"></asp:TextBox></td>
<th><span class="require_info">*</span>题名</th><td colspan="3"><asp:TextBox ID="txtTitle" runat="server" Width="98%" TextMode="MultiLine" Rows="3"></asp:TextBox></td>
</tr>
<tr>
<th>类别号</th><td><asp:TextBox ID="txtArchiveType" runat="server" Width="98%"></asp:TextBox>
<asp:HiddenField ID="h_ArchiveTypeId" runat="server" />
</td>

</tr>
<tr>
<th><span class="require_info">*</span>文件日期</th><td><asp:TextBox ID="txtPublishTime" runat="server" class="easyui-datebox "  Width="160px"></asp:TextBox></td>
<th><span class="require_info">*</span>归档单位</th><td><asp:TextBox ID="txtFileOrgName" runat="server" class="required" Width="98%"></asp:TextBox>
<asp:HiddenField ID="h_FileOrgID" runat="server" />
</td>
<th><span class="require_info">*</span>保管期限</th><td><asp:DropDownList ID="ddlKeepTime" runat="server" Width="160px" class="easyui-combobox "  editable="false" ></asp:DropDownList></td>
</tr>
<tr>
<th><span class="require_info">*</span>载体类型</th><td><asp:DropDownList ID="ddlCarrierType" runat="server" Width="160px" class="easyui-combobox "  editable="false" ></asp:DropDownList></td>
<th><span class="require_info">*</span>密级</th><td><asp:DropDownList ID="ddlSecurity" runat="server" Width="160px" class="easyui-combobox "  editable="false" ></asp:DropDownList></td>
<th><span class="require_info">*</span>保密期限</th><td><asp:DropDownList ID="ddlKeepSecurityTime" runat="server" Width="160px" class="easyui-combobox "  editable="false" ></asp:DropDownList></td>
</tr>
<tr>
<th><span class="require_info">*</span>页号</th><td><asp:TextBox ID="txtPageNum" runat="server" class="required" Width="98%" ></asp:TextBox></td>

</tr>
<tr>
<div id="DivPubLisher" runat="server"><th><span class="require_info">*</span>责任者</th><td><asp:TextBox ID="txtPublisher" runat="server" class="required" Width="98%"></asp:TextBox></td></div>
<div id="DivHujianhao" runat="server"><th>互见号</th><td ><asp:TextBox ID="txtHujianhao" runat="server" Width="98%"></asp:TextBox></td></div>
<div id="DivDocumentNum" runat="server"><th>文件编号</th><td colspan="3"><asp:TextBox ID="txtDocumentNum" runat="server" Width="98%"></asp:TextBox></td></div>
</tr>
<tr>
<div id="DivYear" runat="server"><th><span class="require_info">*</span>年度</th><td><asp:TextBox ID="ddlYear" runat="server"   Width="160px"></asp:TextBox></td></div>
<div id="DivTypeNum" runat="server"><th>型号</th><td><asp:TextBox ID="txtTypeNum" runat="server" Width="98%" class="number"></asp:TextBox></td></div>
</tr>
</table>
            </div>
        </fieldset>
        <fieldset>
            <legend>装盒信息</legend>
            <table width="100%" cellpadding="0" cellspacing="0" class="editTable">
                <tr>
                    <th style="width: 12%">
                        盒号
                    </th>
                    <td>
                        <asp:TextBox ID="txtBoxNum" runat="server" Width="140px"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>扩展信息</legend>
        </fieldset>
        <h3>
            附件列表</h3>
        <ep:EPGridView ID="gv_Attach" runat="server" Width="100%" AutoGenerateColumns="false"
            OnRowDataBound="gv_Attach_OnRowDataBound" DataKeyNames="attachmentid">
            <Columns>
                <asp:BoundField DataField="attachmentid" Visible="false" />
                <asp:BoundField DataField="DBHelperString" Visible="false" />
                <asp:BoundField HeaderText="附件名称" DataField="attachmentname" ItemStyle-HorizontalAlign="Center"
                    HeaderStyle-Width="20%" />
                <asp:BoundField HeaderText="上传时间" DataField="uploadtime" HeaderStyle-Width="10%"
                    ItemStyle-HorizontalAlign="Center" />
                <asp:BoundField HeaderText="文件大小" DataField="attachmentsize" HeaderStyle-Width="10%"
                    ItemStyle-HorizontalAlign="Center" />
            </Columns>
        </ep:EPGridView>
    </div>
    <asp:HiddenField ID="h_DataID" runat="server" />
    <asp:HiddenField ID="h_archiveTypeName" runat="server" />
</asp:Content>
